<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Main page</title>
</head>
<body>
<h1>Hello world</h1>

<form action="/product/add" method="post">
    <span>Name:</span>
    <span><input type="text" name="name"></span>
    <span><button type="submit">Add</button></span>

    <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
</form>
</body>
</html>
